package com.anti.modular.bus.roomfurniture.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.roomfurniture.entity.RoomFurniture;
import com.anti.modular.bus.roomfurniture.param.RoomFurnitureParam;
import com.anti.modular.bus.roomfurniture.result.LeaseFurnitureResult;
import com.anti.modular.bus.roomfurniture.result.RoomFurnitureResult;

import java.util.List;

/**
 * 房间家私配置表service接口
 *
 * @author anti
 * @date 2021-04-18 17:08:44
 */
public interface RoomFurnitureService{

    /**
    * 根据主键查询实体
    */
    RoomFurniture getById(RoomFurnitureParam roomFurnitureParam);


    /**
     * 查询房间家私配置表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
    PageResult page(PageParam pageParam,RoomFurnitureParam roomFurnitureParam);

    /**
     * 房间家私配置表列表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
    List<RoomFurniture> list(RoomFurnitureParam roomFurnitureParam);

    List<RoomFurnitureResult> getRoomFurnitureListByRoomId(Long roomId);
    List<LeaseFurnitureResult> getRoomFurnitureListByLeaseId(Long leaseId);

    /**
     * 添加房间家私配置表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
    void add(RoomFurnitureParam roomFurnitureParam);

    void addEntity(RoomFurniture roomFurniture);

    /**
     * 删除房间家私配置表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
    void delete(RoomFurnitureParam roomFurnitureParam);

    void deleteJsByRoomId(Long roomId);

    /**
     * 编辑房间家私配置表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
    void edit(RoomFurnitureParam roomFurnitureParam);

    /**
     * 查看房间家私配置表
     *
     * @author anti
     * @date 2021-04-18 17:08:44
     */
     RoomFurniture detail(RoomFurnitureParam roomFurnitureParam);

}
